package fr.jade.fraclite.orb.io.messages;

import java.io.Serializable;
import java.util.Map;

public class MulticastRpcState implements Serializable{

  private static final long serialVersionUID = 1L;
  private Map<Long, Long> callCounters;

  public MulticastRpcState(Map<Long, Long> callCounters) {
    this.callCounters = callCounters;
  }
  
  public Long getCallCounter(Long stubId) {
    System.out.println("skel receive state:"+callCounters.toString());
    if(callCounters.containsKey(stubId))
      return callCounters.get(stubId);
    return 0L;
  }
}
